package com.bang.mapper;

import com.bang.pojo.Books;

import java.util.List;

public interface BookMapper {


    int addBook(Books books);

    int deleteBookById(int id);

    int updateBook(Books books);

    Books queryBookById(int id);

    List<Books> queryAllBook();

    List<Books> queryBookByName(String name);
}
